﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleESBCore.Implement.Datas
{
    public class LogInfoData
    {
        public DateTime LogTime { get; set; }
        public string LogMessage { get; set; }
        public LogType LogType { get; set; }
        public LogInfoData(string logMessage):this(logMessage,LogType.Info)
        {
        }
        public LogInfoData(string logMessage, LogType logType)
        {
            LogTime = DateTime.Now;
            LogMessage = logMessage;
            LogType = logType;
        }
    }
}
